package com.syh.jn.scm.domain.supplier.repository.stock;

import cn.redscarf.commons.wrapper.Wrapper;
import com.syh.core.ddd.infrastructure.repository.ReadRepo;
import com.syh.jn.scm.domain.supplier.entity.stock.StockGoods;

import java.math.BigDecimal;
import java.util.Map;

public interface StockGoodsReadRepository extends ReadRepo<StockGoods, Long> {
    StockGoods getByStorehouseIdAndGoodsId(Long storehouseId, Long goodsId);

    Map<String,Object> statisticalAmount(Wrapper we);

    Map<String,Object> statisticalGoodsType(Wrapper we);
}
